using System;

namespace Framework.Core
{
    public interface IWorkItemUI
    {
        WorkItemUIResult Display();
        WorkItemUIResult Result { get; }
        event EventHandler<WorkItemUIClosingEventArgs> Closing;
    }

    public class WorkItemUIClosingEventArgs : EventArgs
    {
        public bool Cancel { get; set; }
        public object IntrayData { get; set; }
    }
}